package com.jhw.ymcc.service;

import com.jhw.ymcc.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.jhw.ymcc.dto.CourseAddDto;
import com.jhw.ymcc.vo.CourseDetailVo;
import com.jhw.ymcc.vo.CourseInfoVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jhw
 * @since 2022-10-03
 */
public interface ICourseService extends IService<Course> {

    void save(CourseAddDto courseAddDto);

    void onLineCourse(Long id);

    void offLineCourse(Long courseId);

    CourseDetailVo detail(Long courseId);

    CourseInfoVo courseOrderInfo(String courseIds);
}
